<me:UIVESTAMM x:Class="WPFExcelReport.TVS03"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                   x:Name="TV" 
                    Loaded="Window_Loaded"
     >
    <me:UIVESTAMM.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter  x:Key="not"/>
    </me:UIVESTAMM.Resources>    
        <StackPanel >
            <Grid Margin="10,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=代理编号:}}"></TextBlock>
                <TextBlock    Grid.Column="1" Text="{Binding VEVERTNR,Source={StaticResource vwMaster}}"    Width="80" />
            </Grid>
            <Grid Margin="10,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=代理名称:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" Text="{Binding VEVERTNA, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}"
                                   IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="8"   CharacterCasing="Upper"    Width="80" />
            </Grid>
            <Grid Margin="10,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=公司名称:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" Text="{Binding VENAME1, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}"
                                   IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="40"   CharacterCasing="Upper"    Width="300" />
            </Grid>
            <Grid Margin="10,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=地址:}}"></TextBlock>
                <ex:TXT72  Grid.Column="2" Text="{Binding VESTRASSE1, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}"
                                   IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="40"   CharacterCasing="Upper"    Width="300" />
            </Grid>
        </StackPanel>
  
</me:UIVESTAMM>
